4D Chart v13

CT GET AXIS ATTRIBUTES

Home

 
4D Chart v13
CT GET AXIS ATTRIBUTES

CT GET AXIS ATTRIBUTES 


 

CT GET AXIS ATTRIBUTES ( area ; object ; axis ; minorTick ; majorTick ; location ; reverse ) 
Parameter Type   Description
area  Longint in 4D Chart area
object  Longint in Object ID
axis  Integer in Chart axis 0 = Category 1 = Series 2 = Values
minorTick  Integer in Receives minor tick kind 0 = None 1 = Inside 2 = Outside 3 = Cross
majorTick  Integer in Receives major tick kind 0 = None 1 = Inside 2 = Outside 3 = Cross
location  Real in Receives axis location (position at which axis is placed)
reverse  Integer in Receives reverse order 0 = Not reversed 1 = Reversed

The CT GET AXIS ATTRIBUTES command returns the attributes of the axis specified by area, object, and axis in the variables for the minorTick, majorTick, location, and reverse parameters. This command applies only to two-dimensional graphs.

minorTick and majorTick refer to the tick marks on axis. The tick mark options can be set in the Axis dialog box for each axis or using the CT SET AXIS ATTRIBUTES command.

location refers to the number of the value at which the axis crosses another axis. If axis is a horizontal axis, location is the number of increments from the bottom of the vertical axis; if axis is a vertical axis, location is the number of increments from the left of the horizontal axis.

If the reverse parameter is equal to 1, the items graphed on the axis are reversed in order. If reverse is equal to 0, the items remain in their original order.

Example  

This example returns the category axis attributes of the chart specified by $ChartID in the $MajorTick, $MinorTick, $Location, and $Reverse parameters.

 $ChartID:=CT Get ID(Area;0;1)
 CT GET AXIS ATTRIBUTES(Area;$ChartID;0;$MinorTick;$MajorTick;$Location;$Reverse)

 
PROPERTIES 

Product: 4D Chart
Theme: CT Chart
Number: 14532

 
INDEX

Alphabetical list of commands

 
HISTORY 

Created: 4D Chart 1

 
SEE ALSO 

CT SET AXIS ATTRIBUTES